<?php
	ob_start();
	session_start();
        require("cons/cons.php");
        require_once 'librarys/funs/class_user.php';
        $t= new tin();
        $lang='vi';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="copyright" content="vietnamtourism"/>

<link href="<?php echo $rootURL; ?>templates/css.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $rootURL; ?>templates/nivo-slider.css" rel="stylesheet" type="text/css" />

<script src="<?php echo $rootURL; ?>scripts/script.js" type="text/javascript"></script>
<script src="<?php echo $rootURL; ?>scripts/jquery-1.4.4.js" type="text/javascript"></script>

<script type="text/javascript" src="<?php echo $rootURL; ?>scripts/jquery.nivo.slider.pack.js"></script>
<script>
    $(document).ready(function() {
	//cao=$(".main_left_details_form").first().height();
        //alert(cao);
});
</script>
</head>
<body>
	<div class="container">
		<div class="banner">
                    <img src="imgs/logo.png" width="90" height="90" style="margin-left: 100px;" ></img>
		</div>
		<div class="k_menu">
	    	<ul>
	        	<li><a href="">Trang Chủ</a>
	                <ul class="cap1">
	                	<li style="width: 200px;">
	                		<div class="k_submenu">
	                			<a href="" class="link1">Trang Chủ</a>
	                			<a href="" class="link2">Giới Thiệu</a>
	                			<a href="" class="link2">Tuyển Dụng</a>
	                			<a href="" class="link2">Liên Hệ</a>
	                		</div>
	                	</li>
	                </ul>
	            </li>
	            <li><a href="">Tour Trong Nước</a>
	            	<ul class="cap1">
	                	<li style="margin-left:-122px; width: 800px;">
	                		<div class="k_submenu">
	                			<a href="" class="link1">Tour Miền Bắc</a>
	                			<a href="" class="link2">Hà Nội</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Tour Miền Trung</a>
	                			<a href="" class="link2">Đà Nẵng</a>
	                			<a href="" class="link2">Huế</a>
	                			<a href="" class="link2">Miền Trung</a>
	                			<a href="" class="link2">Tây Nguyên</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Tour Miền Nam</a>
	                			<a href="" class="link2">Đà Lạt</a>
	                			<a href="" class="link2">Côn Đảo</a>
	                			<a href="" class="link2">Cần Thơ</a>
	                			<a href="" class="link2">Nha Trang</a>
	                			<a href="" class="link2">Phú Quốc</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Xuyên Việt</a>
	                			<a href="" class="link2">Tour Xuyên Việt</a>
	                		</div>
	                	</li>
	                </ul>
	            </li>
				<li><a href="">Tour Nước Ngoài</a>
					<ul class="cap1">
	                	<li style="margin-left:-122px; width: 800px;">
	                		<div class="k_submenu">
	                			<a href="" class="link1">Tour Châu Á</a>
	                			<a href="" class="link2">Tour Hồng Kông</a>
	                			<a href="" class="link2">Tour Hàn Quốc</a>
	                			<a href="" class="link2">Tour Lào</a>
	                			<a href="" class="link2">Tour Malaysia</a>
	                			<a href="" class="link2">Tour Nhật Bản</a>
	                			<a href="" class="link2">Tour Singapore</a>
	                			<a href="" class="link2">Tour Thái Lan</a>
	                			<a href="" class="link2">Tour Trung Quốc</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Tour Châu Âu</a>
	                			<a href="" class="link2">Châu Âu</a>
	                			<a href="" class="link2">Tour Pháp</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Tour Châu Mỹ</a>
	                			<a href="" class="link2">Du Lịch Mỹ</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Tour Châu Úc</a>
	                			<a href="" class="link2">Tour Úc</a>
	                		</div>
	                	</li>
	                </ul>
				</li>
				<li><a href="">Khách Sạn</a>
					<ul class="cap1">
	                	<li style="margin-left:-122px; width: 400px;">
	                		<div class="k_submenu">
	                			<a href="" class="link1">Quốc Tế</a>
	                			<a href="" class="link2">Nhật</a>
	                			<a href="" class="link2">Singapore</a>
	                			<a href="" class="link2">Thái Lan</a>
	                			<a href="" class="link2">Trung Quốc</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Trong Nước</a>
	                			<a href="" class="link2">Hà Nội</a>
	                			<a href="" class="link2">Nha Trang</a>
	                			<a href="" class="link2">TP. Hồ Chí Minh</a>
	                			<a href="" class="link2">Vũng Tàu</a>
	                		</div>
	                	</li>
	                </ul>
				</li>
				<li><a href="">Vé Máy Bay</a>
					<ul class="cap1">
	                	<li style="margin-left:-122px; width: 600px;">
	                		<div class="k_submenu">
	                			<a href="" class="link1">Vietnam Airlines</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Mekong Airlines</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Jetstar Airlines</a>
	                		</div>
	                	</li>
	                </ul>
				</li>
				<li><a href="">Visa</a>
					<ul class="cap1">
	                	<li style="margin-left:-445px; width: 800px;">
	                		<div class="k_submenu">
	                			<a href="" class="link1">Visa Châu Á</a>
	                			<a href="" class="link2">Visa ...</a>
	                			<a href="" class="link2">Visa ...</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Visa Châu Âu</a>
	                			<a href="" class="link2">Visa ...</a>
	                			<a href="" class="link2">Visa ...</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Visa Châu Mỹ</a>
	                			<a href="" class="link2">Visa ...</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Visa Châu Úc</a>
	                			<a href="" class="link2">Visa ...</a>
	                			<a href="" class="link2">Visa ...</a>
	                		</div>
	                	</li>
	                </ul>
				</li>
				<li><a href="">Du Học</a>
					<ul class="cap1">
	                	<li style="margin-left:-567px; width: 800px;">
	                		<div class="k_submenu">
	                			<a href="" class="link1">Du Học Châu Á</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Du Học Châu Âu</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Du Học Châu Mỹ</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Du Học Châu Úc</a>
	                		</div>
	                	</li>
	                </ul>
				</li>
				<li><a href="" style="background: none;">Xe Du Lịch</a>
					<ul class="cap1">
	                	<li style="margin-left:-489px; width: 600px;">
	                		<div class="k_submenu">
	                			<a href="" class="link1">Thuê Xe Theo Miền</a>
	                			<a href="" class="link2">Thuê Xe ...</a>
	                			<a href="" class="link2">Thuê Xe ...</a>
	                			<a href="" class="link2">Thuê Xe ...</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Thuê Xe Theo Chuyến</a>
	                			<a href="" class="link2">Thuê Xe ...</a>
	                			<a href="" class="link2">Thuê Xe ...</a>
	                		</div>
	                		<div class="k_submenu">
	                			<a href="" class="link1">Thuê Xe Theo Chỗ Ngồi</a>
	                			<a href="" class="link2">Thuê Xe ...</a>
	                		</div>
	                	</li>
	                </ul>
				</li>
	        </ul>
	    </div>
	    <div class="main">
	    	<div class="main_left">
                       <div class="site_navigation">
                            <ul>
                                <li><a href="#">Trang chủ</a> </li>
                                <li><a href="#">&raquo; </a> </li>
                                <li><a href="#">Tour trong nước</a> </li>
                                <li><a href="#">&raquo; </a> </li>
                                <li><a href="#">Tour miền nam</a> </li>
                            </ul>
                            <div class="c"></div>
                        </div><!--end .site_navigation-->
                   <?
                        $root=$t->layroot();
                    ?>
                    <?php
                    foreach ($root as $row_root) {?>
                    <div class="main_left_details">
                            <div class="main_left_details_title">
                                <a href="#"><?php echo $row_root['ten_'.$lang];?></a>
                            </div>
                            <div class="main_left_details_form">

                                    <span class="lt">&ensp;</span>
                                    <span class="rt">&ensp;</span>
                                    <span class="lb">&ensp;</span>
                                    <span class="rb">&ensp;</span>

                                    <div class="box_news">
                                        <?php $id_root=$row_root['id'];
                                           $tin=$t->laytour($id_root);
                                           foreach ($tin as $row_tin) {
                                        ?>
                                        <div class="item_first fl">
                                            <div class="image fl">
                                                <a href="#">
                                                    <img height="75" width="100" src="<?php echo $row_tin['url_img']?>" alt="" />
                                                </a>
                                            </div>
                                            <div class="content fr">
                                                <div class="content_first">
                                                    <a href="#"><?php echo $row_tin['ten_'.$lang]?></a><br>
                                                    Giá: <strong style="color: black;"><?php echo $row_tin['gia_'.$lang]?></strong><br>
                                                    <a href="#" class="readmore">Xem thêm</a>
                                                    <div class="c"></div>
                                                </div>
                                            </div>
                                            <div class="c"></div>
                                        </div><!--end item_first-->
                                         <?php }?>
                                        <div class="c"></div>
                                    </div><!--end .box_news-->

                            </div>
                    </div>
                    <?php }?>


	    	</div>
	    	<div class="main_right">
                    <?php
                            include 'librarys/incs/lienhetructuyen.php';
                            include 'librarys/incs/tin_tour.php';
                            include 'librarys/incs/tigia_thoitiet.php';
                    ?>

	    	</div>
	    </div>
	    <div class="footer">
			<span class="title">ThyNguyen Travel</span> <br/><br/>
			<span style="font-weight: normal;">
			<a href="">Trang chủ</a> |
			<a href="">Vé máy bay</a> |
			<a href="">Vé tàu</a> |
			<a href="">Tin tức</a> |
			<a href="">Giao vé</a> |
			<a href="">Thanh toán</a> |
			<a href="">Trợ giúp</a> |
			<a href="">Câu hỏi thường gặp</a> |
			<a href="">Hỏi đáp</a> |
			<a href="">Liên hệ</a> |
			<a href="">Tuyển dụng</a> |
			<a href="">Quảng cáo</a> |
			<a href="">Sitemap</a> <br/>
			<a href="">Đặt vé giá rẻ</a> |
			<a href="">Thông tin hãng bay</a> |
			<a href="">Thông tin xe du lịch</a>
			</span> <br/>
			www.thynguyen.com <br/><br/>
			CÔNG TY CỔ PHẦN ĐẦU TƯ VÀ DU LỊCH TRỰC TUYẾN ThyNguyen.com <br/><br/>
			48 đường Bắc Hải, Phường 6, Quận Tân Bình, TP.Hồ Chí Minh <br/>
			Tel: 08 3977 1755 – 0907 120 524 Email: avala@avala.vn
		</div>
        <div class="c"></div>
	</div>
</body>
</html>
